home *** CD-ROM | disk | FTP | other *** search
-
- (set TRUE 1)
- (set FALSE 0)
-
- (set docopylibs TRUE)
-
- (makeassign "Superdisk:" "Superdisk34:")
-
- (set m1 "You are about to use the\n\nAMIGA USER INTERNATIONAL\n\n")
- (set m2 "Superdisk installation utility\n")
- (set m3 "You have selected the install to Floppy Disk Option.\n\n")
- (set m4 "You will need to have a two or three blank formatted disks ")
- (set m5 "ready for use.\n\n\n")
- (set m6 "If you do not have any disks ready, format some now and then ")
- (set m7 "click on \"Proceed\"")
- (set m8 "\n\n REMEMBER the Amiga is a multitasking computer ")
-
- (message m1 m2)
-
-
- (set installto
- (askchoice
- (prompt "Select the type of disk you\nwant to install to\n")
- (default 0)
- (choices "Hard Disk" "Floppy Disk")
- (help @askchoice-help)
- )
- )
-
- (if (> installto 0 )
- (message m3 m4 m5 m6 m7 m8 )
- )
-
-
-
- (set loopy 1)
-
- (while (= loopy 1)
-
- (set installfile
- (askfile
- (prompt "please select file to decrunch")
- (default "superdisk34:Programs")
- (help @askfile-help)
- )
- )
-
- (set installdest
- (askdir
- (prompt "Into which drawer should\n" (fileonly installfile) "\n be installed ? ")
- (help @askdir-help)
- (default "ram:")
- )
- )
-
- (set lhacommands (cat '"'installfile'"' ' ' '"'installdest'"'))
-
- (message "I am going to execute the command\nsuperdisk34:c/lha x "lhacommands)
-
- (set @default-dest installdest)
-
- (run "superdisk34:c/lha x "lhacommands)
-
- (set loopy
- (askbool
- (prompt "Do you want to decrunch any more programs ?")
- (default 0)
- (help "select \"Yes\" or \"No\"")
- )
- )
-
- )
-
- (if (= docopylibs TRUE)
- (set libyn
- (askbool
- (prompt "Do you want to install / update any libraries ?")
- (default 0)
- (help "select \"Yes\" or \"No\"")
- )
- )
- )
-
-
- (if (= libyn 1)
-
- (copyfiles
- (prompt "Please select a file to copy")
- (help @copyfiles-help)
- (source "superdisk34:libs")
- (dest "ram:")
- (files)
- (pattern "#?.library")
- (optional "askuser")
- (confirm)
- )
- )
-
- (exit "Operation completed")
-
-
-